package com.smmisia.article.service;

import com.smmisia.article.entity.Friend;
import com.smmisia.article.request.FriendAddRequest;
import com.smmisia.common.Result.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.validation.Valid;

import java.util.List;

public interface FriendService extends IService<Friend> {

    Result<String> add(@Valid FriendAddRequest request);


    Result<List<String>> online();

    Result<String> accept(Integer id,Integer status);
}
